package edu.lingnan.rili.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈世杰
 * @since 2022-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_match")
@ApiModel("学生比赛信息实体类")
public class Match implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "users_id", type = IdType.INPUT)
    @ExcelProperty(value = "学号")
    @ApiModelProperty("学生学号")
    private String usersId;

    @ExcelIgnore
    @ApiModelProperty("学生登录密码")
    private String password;

    @ExcelProperty(value = "姓名")
    @ApiModelProperty("学生姓名")
    private String usersName;

    @ExcelProperty(value = "二级学院")
    @ApiModelProperty("学生所在学院")
    private String userCollege;

    @ExcelProperty(value = "年级")
    @ApiModelProperty("学生所在年级")
    private String userGrade;

    @ExcelProperty(value = "专业")
    @ApiModelProperty("学生所在专业")
    private String userMajor;

    @ExcelProperty(value = "班级")
    @ApiModelProperty("学生所在班级")
    private String userClass;
}
